<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ include file="/pub/siteinclud.jsp"%>
<%
	String inforId = request.getParameter("inforId");
%>
<html>
<head>
<script charset="utf-8" src="/editor/kindeditor.js"></script>
<title>雅宝路信息网 致力于服务雅宝路人的最大信息网</title>
<meta name="keywords" content="雅宝路 物流 交友 二手货 发货 甩货 免费发布信息" />
<meta name="description" content="雅宝路信息网，致力于服务雅宝路人的最大信息网。为你提供房产、车辆、招工、兼职、物流等海量雅宝路分类信息"/>
<script type="text/javascript"
	src="<%=path%>/resources/js/shouye.js"></script>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/site/${SiteAccessPath}/css/css.css"
	type="text/css"/>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/site/${SiteAccessPath}/css/global.css"
	type="text/css"/>
<script type="text/javascript">
	var codemap = new Array(); 
	$(function(){
        $.ajax({
			url :"<%=request.getContextPath()%>/cms/article/show/<%=inforId%>", //要访问的后台地址
		    data: "code=<%=com.wing.sys.domain.Code.YBL_TYPE_CODE%>", //要发送的数据
		    type : 'GET', //使用get方法访问后台
		    dataType : 'json', //返回json格式的数据
		    success : function(data){
	    		$("#title_div").html(data.art_name);
	    		$("#content_div").html(data.content);
	    		$("#name_time").html("作者："+data.author+"&nbsp;&nbsp;发表与："+(new Date(data.create_time)).format("yyyy-MM-dd hh:mm"));
		    }
		});	 
		setnews();
	})
	function setnews(){
		$.ajax({
			url :"<%=path%>/cms/artgroup/grpArtlst", //要访问的后台地址
		    data: "site_id=yblsite01&currentPage=1&pageSize=10&grpId=0000000200130abf3cf69", //要发送的数据
		    type : 'POST', //使用get方法访问后台
		    dataType : 'json', //返回json格式的数据
		    success : function(data){
	   			var rows = data.recordList; 
	   			var aa = "<ul class='left'>";
		    	$.each(rows, function(i, n){
		    		var title=n.art_name;
		    		if(title.length>13){
		    			title = title.substr(0,12)+"...";
		    		}
		    		aa = aa+"<li><a href='xwzs?inforId="+n.id+"'>"+title+"</a></li>";
		        }); 
				$("#news_div").html(aa+"</ul>");
		    }
		});
	}
</script>
</head>

<body>
<input type="hidden" name="site_id" value="yblsite01"/>
<%@ include file="header.jsp" %>
<div class="position">您的位置：首页 > 信息展示</div>

<div class="bbs">
	<div class="bbsl left">
    	<div class="bbs_text">
       	  <h3 id="title_div"></h3>
            <span id="name_time"></span><br  />
            <bdo id="content_div"></bdo>
          <p><br /><br />
            <div style="clear:both"></div>
        </div>
    </div>
    <div class="bbsr right">
    	<div class="bbs_close">
       	  <div class="close_title"><h2 class="left">其他信息</h2><img src="<%=request.getContextPath() %>/site/${SiteAccessPath}/images/title_more.gif" width="39" height="13" class="right"/></div>
          <div class="close_list" id="news_div">
          </div>
        </div>
    </div>
</div>
<div style="clear:both"></div>
	
<%@ include file="footer.jsp" %>
</body>
</html>






